package com.ad.pet.message;


import com.ad.pet.common.structure.mvp.AbsView;
import com.ad.pet.common.structure.mvp.BasePresenter;
import com.ad.pet.models.remote.message.Message;

import java.util.List;

/**
 * Created by SEELE on 2018/8/20.
 */

public class MessageContract {
    public  interface Presenter extends BasePresenter<View> {
        void getMessage();
        void getTypeMessage(String cid);
        void isReadMessage(String id);
        void isTypeReadMessage(String cid);
        void deleteMessage(String id);

    }

    public interface View extends AbsView {
        void getMessageSuccess(List<Message> messages);
        void getTypeMessageSuccess(List<Message> messages);
        void deleteMessageSuccess();
        void isReadMessageSuccess();
        void isTypeReadMessageSuccess();


    }
}
